﻿using System.Xml.Linq;

using SeriesManager.Model.Banner;

namespace SeriesManager.Model
{
    public sealed class ActorModel : BindableBase
    {
        #region Properties

        private readonly int id;
        private string name;
        private string role;
        private int sortOrder;
        private BannerBaseModel image;

        public int ID
        {
            get
            {
                return this.id;
            }
        }

        public string Name
        {
            get
            {
                return this.name;
            }
            set
            {
                base.SetProperty(ref this.name, value);
            }
        }

        public string Role
        {
            get
            {
                return this.role;
            }
            set
            {
                base.SetProperty(ref this.role, value);
            }
        }

        public int SortOrder
        {
            get 
            {
                return this.sortOrder;    
            }
            set 
            {
                base.SetProperty(ref this.sortOrder, value);
            }
        }

        public BannerBaseModel Image
        {
            get
            {
                return this.image;
            }
            set
            {
                base.SetProperty(ref this.image, value);
            }
        }
        
        #endregion

        #region Contructor

        public ActorModel(int actorID)
        {
            this.id = actorID;
        }

        #endregion
    }
}